pgx
is a framework for creating Postgres extensions in 100% Rust
Example
use *;
pg_module_magic!;
// Convert the input string to lowercase and return
pgx
is a framework for creating Postgres extensions in 100% Rust
use pgx::*;
pg_module_magic!();
// Convert the input string to lowercase and return
#[pg_extern]
fn my_to_lowercase(input: &'static str) -> String {
input.to_lowercase()
}